<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div class="form-group">
    <h1>验证码</h1>
    <img id="validateCodeImg"  src="/validateCode">&nbsp;&nbsp;&nbsp;
    <a href="#" onclick="javascript:reloadValidateCode();">看不清？</a>
</div>
<script type="text/javascript" src="./static/js/jquery-1.12.4.min.js">
    function reloadValidateCode(){
		$("#validateCodeImg").attr("src","/validateCode?data=" + new Date() + Math.floor(Math.random()*24));
	}
</script>
</body>
</html>